package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallRoleModel = (*customMallRoleModel)(nil)

type (
	// MallRoleModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallRoleModel.
	MallRoleModel interface {
		mallRoleModel
	}

	customMallRoleModel struct {
		*defaultMallRoleModel
	}
)

// NewMallRoleModel returns a model for the database table.
func NewMallRoleModel(conn sqlx.SqlConn) MallRoleModel {
	return &customMallRoleModel{
		defaultMallRoleModel: newMallRoleModel(conn),
	}
}
